The Printing Buffer Structure
The printing buffer structure, of data typegxPrintingBuffer
, holds the document data that QuickDraw GX sends to the printer. It is used with theGXDumpBuffer
andGXFreeBuffer
messages, which are described in the section "Device Communications Messages" beginning on page 4-131.
struct gxPrintingBuffer { long size; long userData; char data[1]; }; typedef struct gxPrintingBuffer gxPrintingBuffer;
Field Description
size
- The number of bytes in the buffer.
userData
- The signature for this buffer, into which a message handler can write a unique ID. If you are writing a driver and overriding the
GXDumpBuffer
andGXFreeBuffer
messages, you can use this value to match your buffers.data
- The data in the buffer. This is an array containing
size
bytes.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help